class BlackUserModel {
  String? msg;
  int? code;
  List<BlackUserModelData>? data;

  BlackUserModel({this.msg, this.code, this.data});

  BlackUserModel.fromJson(Map json) {
    msg = json['msg'];
    code = json['code'];
    if (json['data'] != null) {
      data = <BlackUserModelData>[];
      json['data'].forEach((v) {
        data!.add(BlackUserModelData.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = {};
    data['msg'] = msg;
    data['code'] = code;
    if (this.data != null) {
      data['data'] = this.data!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class BlackUserModelData {
  String? id;
  String? userName;
  String? nickName;
  String? profilePhoto;
  String? easeuserId;

  BlackUserModelData({
    this.id,
    this.userName,
    this.nickName,
    this.profilePhoto,
    this.easeuserId,
  });

  BlackUserModelData.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    userName = json['userName'];
    nickName = json['nickName'];
    profilePhoto = json['profilePhoto'];
    easeuserId = json['easeuserId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = id;
    data['userName'] = userName;
    data['nickName'] = nickName;
    data['profilePhoto'] = profilePhoto;
    data['easeuserId'] = easeuserId;
    return data;
  }
}
